package com.lnj.orders.service;

import com.lnj.bean.model.Coupon;

import java.util.List;

public interface CouponService {

    // 获取所有优惠券列表
    List<Coupon> getAllCouponList();

    //用户领取优惠券
    Integer receiveCoupon(Long userId, Long couponId,Integer limit);
}
